import request from "@/utils/request";

// 查询待审核文章列表
export function listArticle(query) {
  return request({
    url: "/un/article/auditlist",
    method: "get",
    params: query,
  });
}
export function passAdminAudit(data) {
  return request({
    url: "/un/article/successaudit",
    method: "post",
    data: data,
  });
}
export function noPassAdminAudit(data) {
  return request({
    url: "/un/article/erroraudit",
    method: "post",
    data: data,
  });
}
